﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using AirlineBooking.Models;

namespace AirlineBooking.Controllers
{
    public class ReservationController : Controller
    {
        //
        // GET: /Reservation/

        public ActionResult Index()
        {
            return View();
        }

        public ActionResult ViewReservation(string PNRNumber = null)
        {
            return View(new ReservationModel().GetPassengersInfo(PNRNumber));
        }

    }
}
